package com.ice.work.moment.tencent.facade.request;

import com.honeybee.cloud.framework.validation.number.Number;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @Description 新增用户请求参数
 * @Author DELL
 * @Create 2019-07-04
 * @Since 1.0.0
 */
@Data
public class AddUserRequest implements Serializable {
    @NotBlank(message = "nickName not null")
    private String nickName;
    @Number(enableNull = false, enableValues = {1, 2},message ="gender invalid" )
    private Integer gender;
    private String city;
    @NotBlank(message = "country not null")
    private String country;
    private String province;
    @NotBlank(message = "avatarUrl not null")
    private String avatarUrl;
    @NotBlank(message = "openId not null")
    private String openId;
}
